package com.edie.customview.modular.mymvp;

import com.edie.customview.basemvp.IPresenter;
import com.edie.customview.basemvp.IView;

import io.reactivex.Observable;

/**
 * edie create on 2018/7/19
 */
public interface MyMvpContract {
    public interface IMyMvpView extends IView {
        void showMsg(String msg);
    }

    public interface IMyMvpPresenter extends IPresenter<IMyMvpView>{
        void loadMsg(String msgId);
    }

    public interface IMyMvpModel {
        Observable<String> loadMsg(String msgId);
    }
}
